const SET_TOKEN = (tokenName, tokenValue) => {
  if (typeof tokenValue === 'object') {
    tokenValue = JSON.stringify(tokenValue)
  }
  return window.localStorage.setItem(tokenName, tokenValue)
}
export default SET_TOKEN
